package a.e.b.c;

import a.c.q;
import a.e.b.e;

import java.util.*;

public class l
  implements o
{
  private final o a;
  private final Object b;
  private final Collection c;
  private Map d;
  private e e;
  private cb f;
  private q g;
  public static boolean h;
  
  public l(o paramo, Object paramObject)
  {
    this.a = paramo;
    this.b = paramObject;
    ArrayList localArrayList = new ArrayList(paramo.a().size() + 1);
    localArrayList.add(0, paramObject);
    localArrayList.addAll(paramo.a());
    if (!a.b)
    {
      this.c = localArrayList;
      if (!(paramObject instanceof q)) {}
    }
    else
    {
      this.g = ((q)paramObject);
    }
  }
  
  public l(o paramo)
  {
    this.a = paramo;
    this.b = paramo.b();
    this.c = paramo.a();
  }
  
  public Object a(Class paramClass)
  {
    boolean bool = a.b;
    if (!bool) {
      if (this.e != null)
      {
        Object localObject = this.e.a(paramClass);
        if (bool) {
          break label44;
        }
        if (localObject != null) {
          return localObject;
        }
      }
    }
    label44:
    return this.a.a(paramClass);
  }
  
  public void a(Class paramClass, Object paramObject)
  {
    if (!a.b) {
      if (this.e == null) {
        this.e = new e();
      }
    }
    this.e.a(paramClass, paramObject);
  }
  
  public void b(Class paramClass)
  {
    if ((a.b) || (this.e != null)) {
      this.e.c(paramClass);
    }
  }
  
  public Collection a()
  {
    return Collections.unmodifiableCollection(this.c);
  }
  
  public Object b()
  {
    return this.b;
  }
  
  public x c()
  {
    return this.a.c();
  }
  
  public o f()
  {
    return this.a;
  }
  
  public cb d()
  {
    if (!a.b) {}
    return this.f == null ? this.a.d() : this.f;
  }
  
  public void a(cb paramcb)
  {
    this.f = paramcb;
  }
  
  public q e()
  {
    if (!a.b) {}
    return this.g != null ? this.g : this.a.e();
  }
  
  public Object a(Object paramObject)
  {
    boolean bool = a.b;
    if (!bool) {
      if (this.d != null)
      {
        Object localObject = this.d.get(paramObject);
        if (bool) {
          break label46;
        }
        if (localObject != null) {
          return localObject;
        }
      }
    }
    label46:
    return this.a.a(paramObject);
  }
  
  public void b(Object paramObject)
    throws a
  {
    a(this, paramObject, null);
  }
  
  public void a(o paramo, Object paramObject, Class paramClass)
    throws a
  {
    this.a.a(paramo, paramObject, paramClass);
  }
  
  public void a(Object paramObject1, Object paramObject2)
  {
    if (!a.b) {
      if (this.d == null) {
        this.d = new HashMap();
      }
    }
    this.d.put(paramObject1, paramObject2);
  }
  
  public void c(Object paramObject)
  {
    if ((a.b) || (this.d != null)) {
      this.d.remove(paramObject);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.e.b.c.l

 * JD-Core Version:    0.7.0.1

 */